home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Language/OS - Multiplatform Resource Library
/
LANGUAGE OS.iso
/
cpp_libs
/
answrbok
/
7_10.lha
/
7_10
/
qh_cons.c
< prev
next >
Wrap
Text File
|
1993-08-08
|
568b
|
16 lines
* Copyright (c) 1990 by AT&T Bell Telephone Laboratories, Incorporated. */
* The C++ Answer Book */
* Tony Hansen */
* All rights reserved. */
include <process.h>
include <debug.h> /* DELETE */
/ construct a queue_head and a process_queue
ueue_head::queue_head(qmodes mode, unsigned max)
: qh_mode(mode)
if (debug) /*DELETE*/ cerr << "queue_head" << this << "::queue_head(" << qm_print(mode) << ", " << max << ")\n";
if (max != 0)
qh_queue = new process_queue(max, this, 0);
if (debug) /*DELETE*/ cerr << "<<<< queue_head" << this << "::queue_head()\n";